home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
20.alarm
/
MyObject.h
< prev
next >
Wrap
Text File
|
1995-06-12
|
929b
|
40 lines
/* Generated by Interface Builder */
#import <objc/Object.h>
#import <dpsclient/dpsclient.h> // For DPSTimedEntry, used below
@interface MyObject:Object
{
int message; // has a message been recorded?
int stop; // stop playing message?
float sliderFloat; // float value of slider
int sliderHour, sliderMin; // fractions
int min, hour; // from system clock
struct tm *localTime; // used by system clock
struct timeval currentTime;
// Outlets
id alarmHour;
id alarmMin;
id currentHour;
id currentMin;
DPSTimedEntry clockTE; // The clock timed entry
}
+ new;
- setAlarmHour:anObject;
- setAlarmMin:anObject;
- setCurrentHour:anObject;
- setCurrentMin:anObject;
- recordMessage:sender;
- stopAlarm:sender;
- setAlarm:sender;
- getValue:sender;
- displayCurrentTime;
- doTimedEntry;
- startTimedEntry;
- stopTimedEntry;
- free;
@end